<script setup>
import {ref} from "vue";

const count = ref(1)
let countAdd = () => {
    count.value++;
}
</script>

<template>
  <button @click="countAdd">点击</button>
</template>

<style scoped>

</style>